<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>XenC: src/Xen.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">XenC
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Open-source tool for data selection in NLP</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Xen.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Main file of XenC, controls execution.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="_xen_8h_source.html">../include/Xen.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for Xen.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="_xen_8cpp__incl.png" border="0" usemap="#src_2_xen_8cpp" alt=""/></div>
<map name="src_2_xen_8cpp" id="src_2_xen_8cpp">
<area shape="rect" id="node2" href="_xen_8h.html" title="Main file of XenC, controls execution. " alt="" coords="5018,79,5131,104"/>
<area shape="rect" id="node6" href="common_8h.html" title="File containing all common classes/structures/functions of many classes of XenC. " alt="" coords="3595,412,3706,437"/>
<area shape="rect" id="node15" href="xenio_8h.html" title="Class handling all input/output operations of XenC. " alt="" coords="4087,152,4179,177"/>
<area shape="rect" id="node16" href="eval_8h.html" title="Class handling evaluation system. " alt="" coords="2284,232,2353,257"/>
<area shape="rect" id="node35" href="xenoption_8h.html" title="Singleton class handling XenC options accessors/mutators. " alt="" coords="3971,325,4061,351"/>
<area shape="rect" id="node45" href="simple_p_p_l_8h.html" title="Derived class to handle filtering mode 1: simple perplexity. " alt="" coords="5162,232,5302,257"/>
<area shape="rect" id="node46" href="mode_8h.html" title="Abstract class defining the filtering modes architecture. " alt="" coords="5213,325,5290,351"/>
<area shape="rect" id="node47" href="_static_data_8h.html" title="File handling all data objects used by XenC in a static way. " alt="" coords="5366,325,5498,351"/>
<area shape="rect" id="node48" href="mono_x_entropy_8h.html" title="Derived class to handle filtering mode 2: monolingual cross&#45;entropy. " alt="" coords="5326,232,5490,257"/>
<area shape="rect" id="node49" href="bi_x_entropy_8h.html" title="Derived class to handle filtering mode 3: bilingual cross&#45;entropy. " alt="" coords="5564,232,5705,257"/>
<area shape="rect" id="node50" href="pt_scoring_8h.html" title="Derived class to handle filtering mode 4: phrase&#45;table cross&#45;entropy. " alt="" coords="5728,232,5861,257"/>
<area shape="rect" id="node36" href="score_8h.html" title="Class holding the XenC scores representation. " alt="" coords="4135,325,4200,351"/>
<area shape="rect" id="node37" href="similarity_8h.html" title="Class taking care of all the similarity measure computations. " alt="" coords="3477,232,3571,257"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_xen_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
<tr class="memdesc:a0ddf1224851353fc92bfbff6f499fa97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main function of XenC.  <a href="#a0ddf1224851353fc92bfbff6f499fa97">More...</a><br /></td></tr>
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd605e012987328a9f2fde549b82b0f7"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_xen_8cpp.html#abd605e012987328a9f2fde549b82b0f7">sanityCheck</a> (<a class="el" href="class_xen_option.html">XenOption</a> *opt)</td></tr>
<tr class="memdesc:abd605e012987328a9f2fde549b82b0f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Controls the mandatory options.  <a href="#abd605e012987328a9f2fde549b82b0f7">More...</a><br /></td></tr>
<tr class="separator:abd605e012987328a9f2fde549b82b0f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59cff1fcf7715b591b35b6a17c440a72"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_xen_8cpp.html#a59cff1fcf7715b591b35b6a17c440a72">getOutName</a> (<a class="el" href="class_xen_option.html">XenOption</a> *opt)</td></tr>
<tr class="memdesc:a59cff1fcf7715b591b35b6a17c440a72"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the output file name.  <a href="#a59cff1fcf7715b591b35b6a17c440a72">More...</a><br /></td></tr>
<tr class="separator:a59cff1fcf7715b591b35b6a17c440a72"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:af1d08f0ffe4249dcec4b475b2a0d8b9f"><td class="memItemLeft" align="right" valign="top">const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_xen_8cpp.html#af1d08f0ffe4249dcec4b475b2a0d8b9f">version</a> = &quot;2.0.0&quot;</td></tr>
<tr class="separator:af1d08f0ffe4249dcec4b475b2a0d8b9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Main file of XenC, controls execution. </p>
<dl class="section author"><dt>Author</dt><dd>Anthony Rousseau </dd></dl>
<dl class="section version"><dt>Version</dt><dd>2.0.0 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>18 March 2016 </dd></dl>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a59cff1fcf7715b591b35b6a17c440a72"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string getOutName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_xen_option.html">XenOption</a> *&#160;</td>
          <td class="paramname"><em>opt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the output file name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">opt</td><td>: <a class="el" href="class_xen_option.html" title="Singleton class handling XenC options accessors/mutators. ">XenOption</a> object containing all the passed options </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the output file name </dd></dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="_xen_8cpp_a59cff1fcf7715b591b35b6a17c440a72_cgraph.png" border="0" usemap="#_xen_8cpp_a59cff1fcf7715b591b35b6a17c440a72_cgraph" alt=""/></div>
<map name="_xen_8cpp_a59cff1fcf7715b591b35b6a17c440a72_cgraph" id="_xen_8cpp_a59cff1fcf7715b591b35b6a17c440a72_cgraph">
<area shape="rect" id="node2" href="class_xen_option.html#a9f6f38c9e6fd7c0f1a57645b3c7fa441" title="Accessor to the filtering mode. " alt="" coords="165,5,308,31"/>
<area shape="rect" id="node3" href="class_xen_option.html#a9eb5309135ec46b588dcc98c196303ea" title="Accessor to the weights file. " alt="" coords="164,55,309,80"/>
<area shape="rect" id="node4" href="class_xen_option.html#a05e466d2f559f9560458f0b49191d7df" title="Accessor to the log&#45;domain state of values in the weights file. " alt="" coords="170,104,303,129"/>
<area shape="rect" id="node5" href="class_xen_option.html#a1b9f650f28eee13014332ac9ac6dd0ec" title="Accessor to the reversed filtered output state. " alt="" coords="170,153,304,179"/>
<area shape="rect" id="node6" href="class_xen_option.html#ad4b6a223068d8c75797e716887b5b9cc" title="Accessor to the inverted filtered output state. " alt="" coords="172,203,301,228"/>
<area shape="rect" id="node7" href="class_xen_option.html#a049350768fe60ca6d71ec2ebdf3e8586" title="Accessor to the stem mode execution state. " alt="" coords="166,252,307,277"/>
<area shape="rect" id="node8" href="class_xen_option.html#a8c54e1795dc493d23fa38d977c09604d" title="Accessor to the source language out&#45;of&#45;domain data file. " alt="" coords="152,301,321,327"/>
<area shape="rect" id="node9" href="class_xen_option.html#a9886771703c5b8866be587f50193ac9d" title="Accessor to the source language. " alt="" coords="162,351,311,376"/>
<area shape="rect" id="node10" href="class_xen_option.html#aaaec9eadf81b57f24f4833be2ff2350a" title="Accessor to the target language. " alt="" coords="162,400,311,425"/>
<area shape="rect" id="node11" href="namespace_xen_common.html#ad4f4868634e46d6ee82e57d343a77abe" title="Template converting a value into a string with a precision of 20. " alt="" coords="160,449,313,475"/>
<area shape="rect" id="node12" href="class_xen_option.html#a5e3d99b1c17f5dc609344c7918335d23" title="Accessor to the out&#45;of&#45;domain phrase&#45;table file. " alt="" coords="150,499,323,524"/>
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="_xen_8cpp_a59cff1fcf7715b591b35b6a17c440a72_icgraph.png" border="0" usemap="#_xen_8cpp_a59cff1fcf7715b591b35b6a17c440a72_icgraph" alt=""/></div>
<map name="_xen_8cpp_a59cff1fcf7715b591b35b6a17c440a72_icgraph" id="_xen_8cpp_a59cff1fcf7715b591b35b6a17c440a72_icgraph">
<area shape="rect" id="node2" href="_xen_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97" title="Main function of XenC. " alt="" coords="292,5,342,31"/>
<area shape="rect" id="node3" href="_xen_8cpp.html#abd605e012987328a9f2fde549b82b0f7" title="Controls the mandatory options. " alt="" coords="150,31,244,56"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a0ddf1224851353fc92bfbff6f499fa97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>argv</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Main function of XenC. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">argc</td><td>: number of arguments </td></tr>
    <tr><td class="paramname">argv</td><td>: passed arguments to the program </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 if execution ended well </dd></dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="_xen_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph.png" border="0" usemap="#_xen_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph" alt=""/></div>
<map name="_xen_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph" id="_xen_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph">
<area shape="rect" id="node2" href="class_xen_option.html#a97ad096aee729b4d8ae993b1381d4eec" title="Accessor to the instance of the singleton XenOption object. " alt="" coords="113,5,274,31"/>
<area shape="rect" id="node3" href="class_static_data.html#a3cc0816b2220ee3f827cdd00971e010d" title="Accessor to the instance of the singleton StaticData object. " alt="" coords="114,55,273,80"/>
<area shape="rect" id="node4" href="class_xen_option.html#a9f6f38c9e6fd7c0f1a57645b3c7fa441" title="Accessor to the filtering mode. " alt="" coords="562,904,706,929"/>
<area shape="rect" id="node5" href="_xen_8cpp.html#a59cff1fcf7715b591b35b6a17c440a72" title="Computes the output file name. " alt="" coords="367,756,464,781"/>
<area shape="rect" id="node12" href="class_xen_option.html#a9886771703c5b8866be587f50193ac9d" title="Accessor to the source language. " alt="" coords="559,355,708,380"/>
<area shape="rect" id="node16" href="_xen_8cpp.html#abd605e012987328a9f2fde549b82b0f7" title="Controls the mandatory options. " alt="" coords="147,531,241,556"/>
<area shape="rect" id="node17" href="class_xen_option.html#a3756f116809ecfec48ad0c7b508d2b25" title="Accessor to the evaluation execution state. " alt="" coords="347,156,484,181"/>
<area shape="rect" id="node18" href="class_xen_option.html#a47990b37693511cce211889f930c18ba" title="Accessor to the best point execution state. " alt="" coords="352,857,479,883"/>
<area shape="rect" id="node26" href="class_static_data.html#a88d7f1f040b2d7b3c4ae930fc2e2d9d4" title="Deletes the unique instance of the StaticData singleton. " alt="" coords="105,820,282,845"/>
<area shape="rect" id="node27" href="class_xen_option.html#a59a38c443b525e5751473c0d6ac4dd6e" title="Deletes the unique instance of the XenOption singleton. " alt="" coords="104,869,283,895"/>
<area shape="rect" id="node28" href="class_xen_option.html#a6b020f1c16f0e0699a5ea7e06a0f593d" title="Accessor to the output name for the filtered files. " alt="" coords="110,919,277,944"/>
<area shape="rect" id="node29" href="class_static_data.html#a432dc2b3876cffc6eae2765f11454415" title="Accessor to the filtering result file. " alt="" coords="108,968,279,993"/>
<area shape="rect" id="node30" href="class_static_data.html#a82a7803b30ab037009d312d7ac40822b" title="Accessor to the development Corpus. " alt="" coords="113,1017,274,1043"/>
<area shape="rect" id="node31" href="class_xen_option.html#aa06322dd26f850b3842c022f0de4683e" title="Accessor to the development corpus file. " alt="" coords="127,1067,261,1092"/>
<area shape="rect" id="node32" href="class_xen_option.html#a119290088f94fed09b70076920e7bce0" title="XenOption::getMaxEvalPC" alt="" coords="104,1116,284,1141"/>
<area shape="rect" id="node33" href="class_xen_option.html#a78676f439ad9c8d20268ec8bb3752391" title="Accessor to the step size for evaluation/best point. " alt="" coords="125,1165,262,1191"/>
<area shape="rect" id="node34" href="class_xen_option.html#a8b583f9e5188f8e97d204d2ddf860d51" title="Mutator to the evaluation/best point step size. " alt="" coords="125,1215,262,1240"/>
<area shape="rect" id="node35" href="class_xen_i_o.html#a507884a2eeb21b0fd3a7816ac2187beb" title="Writes an evaluation/best point distribution file. " alt="" coords="133,1264,254,1289"/>
<area shape="rect" id="node37" href="class_xen_i_o.html#aeb32c268deb43ffb242f30726ff4105b" title="Writes a part of the text of a XenResult given a percentage. " alt="" coords="347,1315,484,1340"/>
<area shape="rect" id="node6" href="class_xen_option.html#a9eb5309135ec46b588dcc98c196303ea" title="Accessor to the weights file. " alt="" coords="562,756,706,781"/>
<area shape="rect" id="node7" href="class_xen_option.html#a05e466d2f559f9560458f0b49191d7df" title="Accessor to the log&#45;domain state of values in the weights file. " alt="" coords="568,805,700,831"/>
<area shape="rect" id="node8" href="class_xen_option.html#a1b9f650f28eee13014332ac9ac6dd0ec" title="Accessor to the reversed filtered output state. " alt="" coords="567,855,701,880"/>
<area shape="rect" id="node9" href="class_xen_option.html#ad4b6a223068d8c75797e716887b5b9cc" title="Accessor to the inverted filtered output state. " alt="" coords="570,657,698,683"/>
<area shape="rect" id="node10" href="class_xen_option.html#a049350768fe60ca6d71ec2ebdf3e8586" title="Accessor to the stem mode execution state. " alt="" coords="563,707,705,732"/>
<area shape="rect" id="node11" href="class_xen_option.html#a8c54e1795dc493d23fa38d977c09604d" title="Accessor to the source language out&#45;of&#45;domain data file. " alt="" coords="549,607,718,632"/>
<area shape="rect" id="node13" href="class_xen_option.html#aaaec9eadf81b57f24f4833be2ff2350a" title="Accessor to the target language. " alt="" coords="560,505,708,531"/>
<area shape="rect" id="node14" href="namespace_xen_common.html#ad4f4868634e46d6ee82e57d343a77abe" title="Template converting a value into a string with a precision of 20. " alt="" coords="558,1213,710,1239"/>
<area shape="rect" id="node15" href="class_xen_option.html#a5e3d99b1c17f5dc609344c7918335d23" title="Accessor to the out&#45;of&#45;domain phrase&#45;table file. " alt="" coords="548,556,720,581"/>
<area shape="rect" id="node19" href="class_xen_option.html#a76d6e094092486278bd7f7714d54a3b9" title="Accessor to the in&#45;domain phrase&#45;table file. " alt="" coords="334,657,497,683"/>
<area shape="rect" id="node20" href="class_xen_option.html#a74178ef5302c1bf213822ae474c58806" title="Accessor to the source language vocabulary file. " alt="" coords="337,707,494,732"/>
<area shape="rect" id="node21" href="class_xen_option.html#aa38a1233cc2bcd024964fbc54d5abe5e" title="Accessor to the target language vocabulary file. " alt="" coords="338,205,493,231"/>
<area shape="rect" id="node22" href="class_xen_option.html#aeb0a67020dfd7e91a7f79b991f07fdfc" title="Accessor to the monolingual or bilingual execution state. " alt="" coords="344,255,487,280"/>
<area shape="rect" id="node23" href="class_xen_option.html#a17723ab17afa712bfc7a9539719abf94" title="Accessor to the source language in&#45;domain data file. " alt="" coords="336,304,495,329"/>
<area shape="rect" id="node24" href="class_xen_option.html#a1bf2ed601d284a3ecc1c60cd8376a22d" title="Accessor to the target language in&#45;domain data file. " alt="" coords="337,405,494,431"/>
<area shape="rect" id="node25" href="class_xen_option.html#a45a1ac5576924aec7f0fea15e28d0f40" title="Accessor to the target language out&#45;of&#45;domain data file. " alt="" coords="332,455,500,480"/>
<area shape="rect" id="node36" href="namespace_xen_common.html#a3b2d08955355a35d07efd74c466b91d1" title="Template converting a value into a string with no precision. " alt="" coords="336,1264,496,1289"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="abd605e012987328a9f2fde549b82b0f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string sanityCheck </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_xen_option.html">XenOption</a> *&#160;</td>
          <td class="paramname"><em>opt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Controls the mandatory options. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">opt</td><td>: <a class="el" href="class_xen_option.html" title="Singleton class handling XenC options accessors/mutators. ">XenOption</a> object containing all the passed options </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 if all is good, an error message otherwise </dd></dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="_xen_8cpp_abd605e012987328a9f2fde549b82b0f7_cgraph.png" border="0" usemap="#_xen_8cpp_abd605e012987328a9f2fde549b82b0f7_cgraph" alt=""/></div>
<map name="_xen_8cpp_abd605e012987328a9f2fde549b82b0f7_cgraph" id="_xen_8cpp_abd605e012987328a9f2fde549b82b0f7_cgraph">
<area shape="rect" id="node2" href="_xen_8cpp.html#a59cff1fcf7715b591b35b6a17c440a72" title="Computes the output file name. " alt="" coords="183,273,280,299"/>
<area shape="rect" id="node3" href="class_xen_option.html#a9f6f38c9e6fd7c0f1a57645b3c7fa441" title="Accessor to the filtering mode. " alt="" coords="378,5,521,31"/>
<area shape="rect" id="node9" href="class_xen_option.html#a8c54e1795dc493d23fa38d977c09604d" title="Accessor to the source language out&#45;of&#45;domain data file. " alt="" coords="365,351,534,376"/>
<area shape="rect" id="node10" href="class_xen_option.html#a9886771703c5b8866be587f50193ac9d" title="Accessor to the source language. " alt="" coords="375,400,524,425"/>
<area shape="rect" id="node11" href="class_xen_option.html#aaaec9eadf81b57f24f4833be2ff2350a" title="Accessor to the target language. " alt="" coords="376,449,524,475"/>
<area shape="rect" id="node13" href="class_xen_option.html#a5e3d99b1c17f5dc609344c7918335d23" title="Accessor to the out&#45;of&#45;domain phrase&#45;table file. " alt="" coords="363,499,536,524"/>
<area shape="rect" id="node14" href="class_xen_option.html#a3756f116809ecfec48ad0c7b508d2b25" title="Accessor to the evaluation execution state. " alt="" coords="163,549,299,575"/>
<area shape="rect" id="node15" href="class_xen_option.html#a47990b37693511cce211889f930c18ba" title="Accessor to the best point execution state. " alt="" coords="168,599,295,624"/>
<area shape="rect" id="node16" href="class_xen_option.html#a76d6e094092486278bd7f7714d54a3b9" title="Accessor to the in&#45;domain phrase&#45;table file. " alt="" coords="150,648,312,673"/>
<area shape="rect" id="node17" href="class_xen_option.html#a74178ef5302c1bf213822ae474c58806" title="Accessor to the source language vocabulary file. " alt="" coords="153,697,309,723"/>
<area shape="rect" id="node18" href="class_xen_option.html#aa38a1233cc2bcd024964fbc54d5abe5e" title="Accessor to the target language vocabulary file. " alt="" coords="154,747,309,772"/>
<area shape="rect" id="node19" href="class_xen_option.html#aeb0a67020dfd7e91a7f79b991f07fdfc" title="Accessor to the monolingual or bilingual execution state. " alt="" coords="160,796,303,821"/>
<area shape="rect" id="node20" href="class_xen_option.html#a17723ab17afa712bfc7a9539719abf94" title="Accessor to the source language in&#45;domain data file. " alt="" coords="152,845,311,871"/>
<area shape="rect" id="node21" href="class_xen_option.html#a1bf2ed601d284a3ecc1c60cd8376a22d" title="Accessor to the target language in&#45;domain data file. " alt="" coords="152,895,310,920"/>
<area shape="rect" id="node22" href="class_xen_option.html#a45a1ac5576924aec7f0fea15e28d0f40" title="Accessor to the target language out&#45;of&#45;domain data file. " alt="" coords="147,944,315,969"/>
<area shape="rect" id="node4" href="class_xen_option.html#a9eb5309135ec46b588dcc98c196303ea" title="Accessor to the weights file. " alt="" coords="377,203,522,228"/>
<area shape="rect" id="node5" href="class_xen_option.html#a05e466d2f559f9560458f0b49191d7df" title="Accessor to the log&#45;domain state of values in the weights file. " alt="" coords="383,252,516,277"/>
<area shape="rect" id="node6" href="class_xen_option.html#a1b9f650f28eee13014332ac9ac6dd0ec" title="Accessor to the reversed filtered output state. " alt="" coords="383,301,517,327"/>
<area shape="rect" id="node7" href="class_xen_option.html#ad4b6a223068d8c75797e716887b5b9cc" title="Accessor to the inverted filtered output state. " alt="" coords="386,55,514,80"/>
<area shape="rect" id="node8" href="class_xen_option.html#a049350768fe60ca6d71ec2ebdf3e8586" title="Accessor to the stem mode execution state. " alt="" coords="379,104,520,129"/>
<area shape="rect" id="node12" href="namespace_xen_common.html#ad4f4868634e46d6ee82e57d343a77abe" title="Template converting a value into a string with a precision of 20. " alt="" coords="373,153,526,179"/>
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="_xen_8cpp_abd605e012987328a9f2fde549b82b0f7_icgraph.png" border="0" usemap="#_xen_8cpp_abd605e012987328a9f2fde549b82b0f7_icgraph" alt=""/></div>
<map name="_xen_8cpp_abd605e012987328a9f2fde549b82b0f7_icgraph" id="_xen_8cpp_abd605e012987328a9f2fde549b82b0f7_icgraph">
<area shape="rect" id="node2" href="_xen_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97" title="Main function of XenC. " alt="" coords="147,5,198,31"/>
</map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="af1d08f0ffe4249dcec4b475b2a0d8b9f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string version = &quot;2.0.0&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 18 2016 17:22:37 for XenC by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
